package com.wang.interview.designmode.adpter;

/**
 * @author: wang
 * @date: 2021/7/31 21:13
 * @description:
 */
public class ElectrictyAdapter extends AbstractAdapter {
    @Override
    public void adaptElectricity(Electricity electricity) {
        electricity.charge();
        System.out.println("电源转换为5v");
    }
}
